namespace Whoot.DI.Internal
{
    public interface IPool<out TValue> : IPool
    {
        TValue Spawn();
    }

    public interface IPool
    {
        void DeSpawn(object value);
        void Clear();
    }
}